package whu.edu.demo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "product")
public class Product implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.NONE)
    private Integer Id;

    private String name;

    private Float price;
}
